{
    "elements": [
        {
            "tag": "column_set",
            "flex_mode": "none",
            "background_style": "default",
            "columns": [
                {
                    "tag": "column",
                    "width": "weighted",
                    "weight": 1,
                    "vertical_align": "top",
                    "elements": [
                        {
                            "tag": "markdown",
                            "content": "**操作人：** @ {{$shareUsername}}"
                        }
                    ]
                },
                {
                    "tag": "column",
                    "width": "weighted",
                    "weight": 1,
                    "vertical_align": "top",
                    "elements": [
                        {
                            "tag": "markdown",
                            "content": "**分享时间：** {{$shareDate}}"
                        }
                    ]
                }
            ]
        },
        @foreach ($shareImgGroup as $shareImg)
        {
            "tag": "column_set",
            "flex_mode": "none",
            "background_style": "grey",
            "columns": [
                {
                    "tag": "column",
                    "width": "weighted",
                    "weight": 1,
                    "vertical_align": "top",
                    "elements": [
                        {
                            "tag": "column_set",
                            "flex_mode": "none",
                            "background_style": "default",
                            "columns": [
                                {
                                    "tag": "column",
                                    "width": "weighted",
                                    "weight": 1,
                                    "vertical_align": "top",
                                    "elements": [
                                        {
                                            "tag": "markdown",
                                            "content": "**拍摄信息：**\n {{$shareImg['date']}} {{$shareImg['weekDay']}}"
                                        }
                                    ]
                                }
                            ]
                        }
                        @foreach ($shareImg['list'] as $img)
                    ,
                        {
                            "tag": "column_set",
                            "flex_mode": "none",
                            "background_style": "grey",
                            "columns": [
                                {
                                    "tag": "column",
                                    "width": "weighted",
                                    "weight": 1,
                                    "vertical_align": "top",
                                    "elements": [
                                        @if (isset($img[0]))
                                        {
                                            "tag": "img",
                                            "img_key": "{{$img[0]['fsImgKey'] ?? ''}}",
                                            "alt": {
                                                "tag": "plain_text",
                                                "content": ""
                                            },
                                            "mode": "crop_center",
                                            "preview": true,
                                            "compact_width": false
                                        },
                                        {
                                            "tag": "div",
                                            "text": {
                                                "content": "@if ($img[0]['type'] == 2)[查看详情>>]({!! $previewUrl !!}&resourceId={{$img[0]['id']}}) @endif",
                                                "tag": "lark_md"
                                            }
                                        }
                                        @endif
                                    ]
                                },
                                {
                                    "tag": "column",
                                    "width": "weighted",
                                    "weight": 1,
                                    "vertical_align": "top",
                                    "elements": [
                                        @if (isset($img[1]))
                                        {
                                            "tag": "img",
                                            "img_key": "{{$img[1]['fsImgKey'] ?? ''}}",
                                            "alt": {
                                                "tag": "plain_text",
                                                "content": ""
                                            },
                                            "mode": "crop_center",
                                            "preview": true,
                                            "compact_width": false
                                        },
                                        {
                                            "tag": "div",
                                            "text": {
                                                "content": "@if ($img[1]['type'] == 2)[查看详情>>]({!! $previewUrl !!}&resourceId={{$img[1]['id']}}) @endif",
                                                "tag": "lark_md"
                                            }
                                        }
                                        @endif
                                    ]
                                },
                                {
                                    "tag": "column",
                                    "width": "weighted",
                                    "weight": 1,
                                    "vertical_align": "top",
                                    "elements": [
                                        @if (isset($img[2]))
                                        {
                                            "tag": "img",
                                            "img_key": "{{$img[2]['fsImgKey'] ?? ''}}",
                                            "alt": {
                                                "tag": "plain_text",
                                                "content": ""
                                            },
                                            "mode": "crop_center",
                                            "preview": true,
                                            "compact_width": false
                                        },
                                        {
                                            "tag": "div",
                                            "text": {
                                                "content": "@if ($img[2]['type'] == 2)[查看详情>>]({!! $previewUrl !!}&resourceId={{$img[2]['id']}}) @endif",
                                                "tag": "lark_md"
                                            }
                                        }
                                        @endif
                                    ]
                                }
                            ]
                        }
                        @endforeach
                    ]
                }
            ]
        },
        @endforeach
        {
            "tag": "div",
            "text": {
                "content": "**分享说明：** {{$comment}}",
                "tag": "lark_md"
            }
        },
        {
            "tag": "hr"
        },
        {
            "elements": [
                {
                    "content": "📷  分享来自夸父运营App",
                    "tag": "plain_text"
                }
            ],
            "tag": "note"
        }
    ],
    "header": {
        "template": "green",
        "title": {
            "content": "[ 巡店分享 ]来自 {{$shareUsername}} 分享的 {{$total}} 张图片",
            "tag": "plain_text"
        }
    }
}
